package com.zhiyou100.mapper;

import java.util.List;

import com.zhiyou100.model.Course;
import com.zhiyou100.model.Subject;

public interface CourseMapper {
	public List<Course> selectCourses(Integer subject_id);
	
	public Course selectCourse(Integer id);
	
	public List<Course> selectCourseAll();

	public int updateCourse(Course course);

	public int addCourse(Course course);

	public int deleteCourse(Integer id);
	
	public List<Course> selectCourseAndVideo();
}
